<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/css/base2.css">
		<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/css/style2.css">
		<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-2.1.4.min.js"></script>
		<title>财务管理-短信管理</title>
	</head>
	<body>
		<div class="page">
			<div class="header">
				<div class="header_top"></div>
				<div class="header_bottom clearfix">
					<div class="header_logo fl">
						<img src="${pageContext.request.contextPath}/images/images/index-logo.png">
					</div>
					<ul class="header_nav clearfix fl">
						<c:forEach items="${sessionScope.MAIN_MENU}" var="mainMenu">
						<li>
							<a href="${pageContext.request.contextPath}/${mainMenu.wOAction}" class="on">${mainMenu.wOName}</a>
						</li>
					</c:forEach>
					</ul>
					<div class="header_user fr">
						<img src="${pageContext.request.contextPath}/images/images/user.png">欢迎您，<i>admin</i><a herf="${pageContext.request.contextPath}//manager/loginout.html">【切换账号】</a>
					</div>
				</div>
			</div>
			<div class="main clearfix">
				<div class="main_menu fl">
					<div class="menu_name">
						<a href="${pageContext.request.contextPath}/supplier/countAccount.html">
							<img src="${pageContext.request.contextPath}/images/images/zhxx.png">
							<p>账户信息</p>
						</a>
					</div>
					<div class="menu_name">
						<a href="financial_shouzhimx.html">
							<img src="${pageContext.request.contextPath}/images/images/szmx.png">
							<p>收支明细</p>
						</a>
					</div>
					<div class="menu_name">
						<a href="financial_tixianmx.html">
							<img src="${pageContext.request.contextPath}/images/images/txmx.png">
							<p>提现明细</p>
						</a>
					</div>
					<div class="menu_name on">
						<a href="${pageContext.request.contextPath}/supplier/smsInfoA/1.html">
							<img src="${pageContext.request.contextPath}/images/images/dxgl.png">
							<p>短信管理</p>
						</a>
					</div>
					<div class="menu_name">
						<a href="${pageContext.request.contextPath}/supplier/heiInfoA/1.html">
							<img src="${pageContext.request.contextPath}/images/images/hbgl.png">
							<p>嘿币管理</p>
						</a>
					</div>
					<div class="menu_name">
						<a href="financial_tuikuan.html">
							<img src="${pageContext.request.contextPath}/images/images/tkgl.png">
							<p>退款管理</p>
						</a>
					</div>
				</div>
				<div class="main_cont fl">
					<div class="main_cont_top">
						<div class="main_inner clearfix">
							<div class="cont_top_title fl">当前位置：财务管理 > 短信管理</div>
							<div class="cont_top_time fr"><i><img src="${pageContext.request.contextPath}/images/images/refresh.png">刷新</i></div>
						</div>
					</div>
					<div class="main_cont_top">
						<div class="main_inner clearfix">
							<div class="cont_top_time fr pr">
								<form>
									<input type="search" placeholder="请输入关键字查询" class="search_txt">
									<input type="submit" value="搜索" class="search pa" style="top:6px;right: 0;">
								</form>
							</div>
						</div>
					</div>
					 <div class="main_cont_bottom_dxgl">
						<div class="main_inner">
							<table class="table table-border table-bordered table-hover table-bg table-sort">
								<thead>
							    <tr> 
							        <th>短信编号</th> 
							        <th>目标号码</th> 
							        <th>费用</th> 
							        <th>发送原因</th>
							        <th>发送时间</th>
							    </tr>
							    </thead> 
							    
							    <tbody>
							    <c:forEach items="${PAGE_BEAN.dataList}" var="smsInfo">
									<tr class="text-c">			
										<td><c:out value="${smsInfo.id}"/></td>
										<td><c:out value="${smsInfo.sMobile}"/></td>
										<td><c:out value="${smsInfo.sFee}"/></td>
										<td><c:out value="${smsInfo.sReason}"/></td>
										<td><c:out value="${smsInfo.formatDate}"/></td>
									</tr>
								</c:forEach>
								</tbody> 
							</table> 
							<%@ include file="/WEB-INF/views/page.jsp"%> 
							
						</div>
					</div>
				</div>
			</div>
		</div>
	
		<script type="text/javascript" src="${pageContext.request.contextPath}/lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
		<script>
		$(function(){
			$('.table-sort').dataTable({
				"bLengthChange": false, //改变每页显示数据数量
				"aaSorting": [[ 1, "desc" ]],//默认第几个排序
				"bStateSave": true,//状态保存
				"bPaginate" : false,// 分页按钮  
				"aoColumnDefs": [
				  //{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
				  {"orderable":false,"aTargets":[0,3,3]}// 制定列不参与排序
				]
			});
		});
		</script>
	</body>
</html>
